﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.cs" Inherits="controls_login" %>
<asp:Panel ID="PanelLogin" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Tài khoản"></asp:Label>
    :
    <asp:TextBox ID="txtUsername" runat="server" ValidationGroup="login"></asp:TextBox>
    <p>
        <asp:Label ID="Label2" runat="server" Text="Mật khẩu"></asp:Label>
        :
        <asp:TextBox ID="txtPassword" runat="server" ValidationGroup="login" 
            TextMode="Password"></asp:TextBox>
    </p>
    <p>
        <asp:Button ID="btnDangNhap" runat="server" Text="Đăng nhập" 
        ValidationGroup="login" onclick="btnDangNhap_Click" style="width: 94px" />
    </p>
    <p>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="..//signup.aspx" 
            style="color: #0000CC">Đăng ký</asp:HyperLink>
    </p>
    <p>
        <asp:HyperLink ID="HyperLink2" runat="server" 
            NavigateUrl="..//RequestPassword.aspx" style="color: #0000CC">Quên mật khẩu</asp:HyperLink>
    </p>
    <p>
        &nbsp;</p>
    <p>
        <asp:Label ID="lbKQ" runat="server" style="color: #FF3300"></asp:Label>
    </p>
</asp:Panel>
<asp:Panel ID="PanelLogout" runat="server">
    Xin chào:&nbsp;
    <asp:Label ID="lbName" runat="server" style="font-weight: 700; color: #0000FF"></asp:Label>
    <br />
    <a href="Account.aspx">Quản lý tài khoản</a>
    <br />
    <asp:Button ID="btnThoat" runat="server" onclick="btnThoat_Click" Text="Thoát" 
        ValidationGroup="login" />
    <br />
</asp:Panel>


